200 |
How do I arrange my columns on multiple lines
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutHeaderHeight(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"")))->PutHTMLCaption(L"Line 1<br>Line 2"); |
199 |
How can I display all cells using HTML format
|
198 |
How can I display all cells using multiple lines
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"MultipleLine")))->PutDef(EXLISTLib::exCellSingleLine,VARIANT_FALSE); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"SingleLine")))->PutDef(EXLISTLib::exCellSingleLine,VARIANT_TRUE); EXLISTLib::IItemsPtr var_Items = spList1->GetItems(); var_Items->PutCaption(var_Items->Add("This is a bit of long text that should break the line"),long(1),"this is a bit of long text that's displayed on a single line"); |
197 |
How do change the vertical alignment for all cells in the column
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"MultipleLine")))->PutDef(EXLISTLib::exCellSingleLine,VARIANT_FALSE); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"VAlign")))->PutDef(EXLISTLib::exCellVAlignment,long(2)); EXLISTLib::IItemsPtr var_Items = spList1->GetItems(); var_Items->PutCaption(var_Items->Add("This is a bit of long text that should break the line"),long(1),"bottom"); EXLISTLib::IItemsPtr var_Items1 = spList1->GetItems(); var_Items1->PutCaption(var_Items1->Add("This is a bit of long text that should break the line"),long(1),"bottom"); |
196 |
How do change the foreground color for all cells in the column
|
195 |
How do change the background color for all cells in the column
|
194 |
How do I show buttons for all cells in the column
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Button"))); var_Column->PutDef(EXLISTLib::exCellHasButton,VARIANT_TRUE); var_Column->PutDef(EXLISTLib::DefColumnEnum(EXLISTLib::exCellHasButton | EXLISTLib::exCellHasRadioButton),VARIANT_TRUE); spList1->GetItems()->Add(" Button 1 "); spList1->GetItems()->Add(" Button 2 "); |
193 |
How do I show buttons for all cells in the column
|
192 |
How do I display radio buttons for all cells in the column
|
191 |
How do I display checkboxes for all cells in the column
|
190 |
How can I display a tooltip when the cursor hovers the column
|
189 |
Is there any function to assign a key to a column instead using its name or capion
|
188 |
Is there any function to assign any extra data to a column
|
187 |
By default, the column gets sorted descending, when I first click its header. How can I change so the column gets sorted ascending when the user first clicks the column's header
|
186 |
How can I specify the maximum width for the column, if I use WidthAutoResize property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Auto"))); var_Column->PutWidthAutoResize(VARIANT_TRUE); var_Column->PutMinWidthAutoResize(32); var_Column->PutMaxWidthAutoResize(128); spList1->GetItems()->Add(long(0)); spList1->GetItems()->Add(long(1)); |
185 |
How can I specify the minimum width for the column, if I use WidthAutoResize property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Auto"))); var_Column->PutWidthAutoResize(VARIANT_TRUE); var_Column->PutMinWidthAutoResize(32); spList1->GetItems()->Add(long(0)); spList1->GetItems()->Add(long(1)); |
184 |
Is there any option to resize the column based on its data, captions
|
183 |
How can I align the icon in the column's header in the center
|
182 |
How do I align the icon in the column's header to the right
|
181 |
How do I show or hide the sorting icons, but still need sorting
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Sorted")))->PutSortOrder(EXLISTLib::SortAscending); spList1->GetColumns()->GetItem(long(0))->PutDisplaySortIcon(VARIANT_FALSE); |
180 |
How do I enable or disable the entire column
|
179 |
How do I disable drag and drop columns
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"C1")))->PutAllowDragging(VARIANT_FALSE); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"C2")))->PutAllowDragging(VARIANT_FALSE); |
178 |
How do I disable resizing a column at runtime
|
177 |
How can I align the column to the right, and its caption too
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column"))); var_Column->PutAlignment(EXLISTLib::RightAlignment); var_Column->PutHeaderAlignment(EXLISTLib::RightAlignment); spList1->GetItems()->Add(long(0)); spList1->GetItems()->Add(long(1)); |
176 |
How can I align the column to the right
|
175 |
How do I change the column's caption
|
174 |
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
|
173 |
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
|
172 |
Can I change the font for the tooltip
|
171 |
Can I change the font for the tooltip
|
170 |
Can I change the order of the buttons in the scroll bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutScrollOrderParts(EXLISTLib::exHScroll,L"t,l,r"); spList1->PutScrollOrderParts(EXLISTLib::exVScroll,L"t,l,r"); spList1->PutScrollBars(EXLISTLib::DisableBoth); |
169 |
The thumb size seems to be very small. Can I make it bigger
|
168 |
How can I display my text on the scroll bar, using a different font
|
167 |
How can I display my text on the scroll bar, using a different font
|
166 |
How can I display my text on the scroll bar
|
165 |
How do I enlarge or change the size of the control's scrollbars
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutScrollHeight(18); spList1->PutScrollWidth(18); spList1->PutScrollButtonWidth(18); spList1->PutScrollButtonHeight(18); spList1->PutScrollBars(EXLISTLib::DisableBoth); |
164 |
How do I assign a tooltip to a scrollbar
|
163 |
How do I assign an icon to the button in the scrollbar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spList1->PutScrollPartVisible(EXLISTLib::exHScroll,EXLISTLib::exLeftB1Part,VARIANT_TRUE); spList1->PutScrollPartCaption(EXLISTLib::exHScroll,EXLISTLib::exLeftB1Part,L"<img>1</img>"); spList1->PutScrollHeight(18); spList1->PutScrollButtonWidth(18); spList1->PutScrollBars(EXLISTLib::DisableNoHorizontal); |
162 |
I need to add a button in the scroll bar. Is this possible
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutScrollPartVisible(EXLISTLib::exHScroll,EXLISTLib::exLeftB1Part,VARIANT_TRUE); spList1->PutScrollPartCaption(EXLISTLib::exHScroll,EXLISTLib::exLeftB1Part,L"1"); spList1->PutScrollBars(EXLISTLib::DisableNoHorizontal); |
161 |
Can I display an additional buttons in the scroll bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutScrollPartVisible(EXLISTLib::exHScroll,EXLISTLib::exLeftB1Part,VARIANT_TRUE); spList1->PutScrollPartVisible(EXLISTLib::exHScroll,EXLISTLib::exLeftB2Part,VARIANT_TRUE); spList1->PutScrollPartVisible(EXLISTLib::exHScroll,EXLISTLib::exRightB6Part,VARIANT_TRUE); spList1->PutScrollPartVisible(EXLISTLib::exHScroll,EXLISTLib::exRightB5Part,VARIANT_TRUE); spList1->PutScrollBars(EXLISTLib::DisableNoHorizontal); |
160 |
How can I display a custom size picture to a cell or item
|
159 |
How can I display a multiple pictures to a cell or item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutDefaultItemHeight(48); spList1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif"); spList1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif"); spList1->GetColumns()->Add(L"C1"); EXLISTLib::IItemsPtr var_Items = spList1->GetItems(); var_Items->PutCaptionFormat(var_Items->Add("<img>pic1</img> Text <img>pic2</img> another text ..."),long(0),EXLISTLib::exHTML); |
158 |
How do I change the column's foreground color for numbers between an interval - Range
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); EXLISTLib::IConditionalFormatPtr var_ConditionalFormat = spList1->GetConditionalFormats()->Add(L"%0 >= 2 and %0 <= 10",vtMissing); var_ConditionalFormat->PutBold(VARIANT_TRUE); var_ConditionalFormat->PutForeColor(RGB(255,0,0)); var_ConditionalFormat->PutApplyTo(EXLISTLib::FormatApplyToEnum(0x1)); spList1->GetColumns()->Add(L"N1"); spList1->GetColumns()->Add(L"N2"); EXLISTLib::IItemsPtr var_Items = spList1->GetItems(); var_Items->PutCaption(var_Items->Add(long(1)),long(1),long(2)); EXLISTLib::IItemsPtr var_Items1 = spList1->GetItems(); var_Items1->PutCaption(var_Items1->Add(long(3)),long(1),long(3)); EXLISTLib::IItemsPtr var_Items2 = spList1->GetItems(); var_Items2->PutCaption(var_Items2->Add(long(10)),long(1),long(11)); EXLISTLib::IItemsPtr var_Items3 = spList1->GetItems(); var_Items3->PutCaption(var_Items3->Add(long(13)),long(1),long(31)); spList1->PutSearchColumnIndex(1); |
157 |
How do I change the item's foreground color for numbers between an interval - Range
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetConditionalFormats()->Add(L"%0 >= 2 and %0 <= 10",vtMissing)->PutForeColor(RGB(255,0,0)); spList1->GetColumns()->Add(L"Numbers"); spList1->GetItems()->Add(long(1)); spList1->GetItems()->Add(long(2)); spList1->GetItems()->Add(long(10)); spList1->GetItems()->Add(long(20)); |
156 |
How do I change the item's background color for numbers less than a value
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetConditionalFormats()->Add(L"%0 < 10",vtMissing)->PutBackColor(RGB(255,0,0)); spList1->GetColumns()->Add(L"Numbers"); spList1->GetItems()->Add(long(1)); spList1->GetItems()->Add(long(2)); spList1->GetItems()->Add(long(10)); spList1->GetItems()->Add(long(20)); |
155 |
How do I underline the numbers greater than a value
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetConditionalFormats()->Add(L"%0 >= 10",vtMissing)->PutUnderline(VARIANT_TRUE); spList1->GetColumns()->Add(L"Numbers"); spList1->GetItems()->Add(long(1)); spList1->GetItems()->Add(long(2)); spList1->GetItems()->Add(long(10)); spList1->GetItems()->Add(long(20)); |
154 |
How do I highlight in italic the numbers greater than a value
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetConditionalFormats()->Add(L"%0 >= 10",vtMissing)->PutStrikeOut(VARIANT_TRUE); spList1->GetColumns()->Add(L"Numbers"); spList1->GetItems()->Add(long(1)); spList1->GetItems()->Add(long(2)); spList1->GetItems()->Add(long(10)); spList1->GetItems()->Add(long(20)); |
153 |
How do I highlight in italic the numbers greater than a value
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetConditionalFormats()->Add(L"%0 >= 10",vtMissing)->PutItalic(VARIANT_TRUE); spList1->GetColumns()->Add(L"Numbers"); spList1->GetItems()->Add(long(1)); spList1->GetItems()->Add(long(2)); spList1->GetItems()->Add(long(10)); spList1->GetItems()->Add(long(20)); |
152 |
How do I highlight in bold the numbers greater than a value
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetConditionalFormats()->Add(L"%0 >= 10",vtMissing)->PutBold(VARIANT_TRUE); spList1->GetColumns()->Add(L"Numbers"); spList1->GetItems()->Add(long(1)); spList1->GetItems()->Add(long(2)); spList1->GetItems()->Add(long(10)); spList1->GetItems()->Add(long(20)); |
151 |
Can I use your EBN files to change the visual appearance for radio buttons
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spList1->PutRadioImage(VARIANT_FALSE,16777216); spList1->PutRadioImage(VARIANT_TRUE,33554432); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Radio")))->PutDef(EXLISTLib::exCellHasRadioButton,VARIANT_TRUE); EXLISTLib::IItemsPtr var_Items = spList1->GetItems(); var_Items->Add("Radio 1"); var_Items->PutCellState(var_Items->Add("Radio 2"),long(0),1); var_Items->Add("Radio 3"); |
150 |
Can I use your EBN files to change the visual appearance for checkbox cells
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spList1->PutCheckImage(EXLISTLib::Unchecked,16777216); spList1->PutCheckImage(EXLISTLib::Checked,33554432); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Check")))->PutDef(EXLISTLib::exCellHasCheckBox,VARIANT_TRUE); EXLISTLib::IItemsPtr var_Items = spList1->GetItems(); var_Items->Add("Check 1"); var_Items->PutCellState(var_Items->Add("Check 2"),long(0),1); |
149 |
How do I change the visual aspect for thumb parts in the scroll bars, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spList1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn"); spList1->PutBackground(EXLISTLib::exHSThumb,0x1000000); spList1->PutBackground(EXLISTLib::exHSThumbP,0x2000000); spList1->PutBackground(EXLISTLib::exHSThumbH,0x3000000); spList1->PutBackground(EXLISTLib::exVSThumb,0x1000000); spList1->PutBackground(EXLISTLib::exVSThumbP,0x2000000); spList1->PutBackground(EXLISTLib::exVSThumbH,0x3000000); spList1->PutColumnAutoResize(VARIANT_FALSE); spList1->PutScrollBySingleLine(VARIANT_TRUE); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"S")))->PutWidth(483); EXLISTLib::IItemsPtr var_Items = spList1->GetItems(); var_Items->PutItemHeight(var_Items->Add("Item 1"),248); spList1->GetItems()->Add("Item 2"); |
148 |
How do I change the visual aspect only for the thumb in the scroll bar, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spList1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn"); spList1->PutBackground(EXLISTLib::exHSThumb,0x1000000); spList1->PutBackground(EXLISTLib::exHSThumbP,0x2000000); spList1->PutBackground(EXLISTLib::exHSThumbH,0x3000000); spList1->PutColumnAutoResize(VARIANT_FALSE); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"S")))->PutWidth(483); |
147 |
I've seen that you can change the visual appearance for the scroll bar. How can I do that
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spList1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn"); spList1->PutBackground(EXLISTLib::exSBtn,0x1000000); spList1->PutBackground(EXLISTLib::exSBtnP,0x2000000); spList1->PutBackground(EXLISTLib::exSBtnH,0x3000000); spList1->PutBackground(EXLISTLib::exHSBack,RGB(240,240,240)); spList1->PutBackground(EXLISTLib::exVSBack,RGB(240,240,240)); spList1->PutBackground(EXLISTLib::exScrollSizeGrip,RGB(240,240,240)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"S")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"E1")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"E2")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"E3")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"E4")))->PutWidth(32); spList1->PutColumnAutoResize(VARIANT_FALSE); spList1->PutScrollBars(EXLISTLib::DisableBoth); |
146 |
Is there any option to highligth the column from the cursor - point
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spList1->PutBackground(EXLISTLib::exCursorHoverColumn,0x1000000); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"S")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"E1")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"E2")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"E3")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"E4")))->PutWidth(32); |
145 |
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spList1->PutBackground(EXLISTLib::exSelBackColorFilter,0x1000000); spList1->PutBackground(EXLISTLib::exSelForeColorFilter,RGB(255,20,20)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Filter")))->PutDisplayFilterButton(VARIANT_TRUE); |
144 |
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spList1->PutBackground(EXLISTLib::exDateHeader,0x1000000); spList1->PutBackground(EXLISTLib::exDateTodayUp,0x1000000); spList1->PutBackground(EXLISTLib::exDateTodayDown,0x2000000); spList1->PutBackground(EXLISTLib::exDateScrollThumb,0x1000000); spList1->PutBackground(EXLISTLib::exDateScrollRange,RGB(230,230,230)); spList1->PutBackground(EXLISTLib::exDateSeparatorBar,RGB(230,230,230)); spList1->PutBackground(EXLISTLib::exDateSelect,0x1000000); EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Date"))); var_Column->PutFilterType(EXLISTLib::exDate); var_Column->PutDisplayFilterButton(VARIANT_TRUE); var_Column->PutDisplayFilterDate(VARIANT_TRUE); |
143 |
How do I change the visual aspect of the close button in the filter bar, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spList1->PutBackground(EXLISTLib::exFooterFilterBarButton,0x1000000); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Filter")))->PutFilterType(EXLISTLib::exBlanks); spList1->ApplyFilter(); |
142 |
How do I change the visual aspect of buttons in the cell, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spList1->PutBackground(EXLISTLib::exCellButtonUp,0x1000000); spList1->PutBackground(EXLISTLib::exCellButtonDown,0x2000000); spList1->PutSelForeColor(RGB(0,0,0)); spList1->PutShowFocusRect(VARIANT_FALSE); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column 1")))->PutDef(EXLISTLib::exCellHasButton,VARIANT_TRUE); spList1->GetItems()->Add("Button 1"); spList1->GetItems()->Add("Button 2"); spList1->GetColumns()->Add(L"Column 2"); |
141 |
How do I change the visual aspect of the drop down filter button, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spList1->PutBackground(EXLISTLib::exHeaderFilterBarButton,0x1000000); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Filter")))->PutDisplayFilterButton(VARIANT_TRUE); |
140 |
How do I enable resizing the columns at runtime
|
139 |
How can I sort by multiple columns
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutSingleSort(VARIANT_FALSE); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"C1")))->PutSortOrder(EXLISTLib::SortAscending); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"C2")))->PutSortOrder(EXLISTLib::SortDescending); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"C3")))->PutSortOrder(EXLISTLib::SortAscending); |
138 |
How can I add several columns to control's sort bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutSortBarVisible(VARIANT_TRUE); spList1->PutSortBarColumnWidth(48); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"C1")))->PutSortOrder(EXLISTLib::SortAscending); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"C2")))->PutSortOrder(EXLISTLib::SortDescending); |
137 |
How can I change the width of the columns being displayed in the sort bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutSortBarVisible(VARIANT_TRUE); spList1->PutSortBarColumnWidth(48); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"C1")))->PutSortOrder(EXLISTLib::SortAscending); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"C2")))->PutSortOrder(EXLISTLib::SortDescending); |
136 |
How can I change the height of the sort bar's
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutSortBarVisible(VARIANT_TRUE); spList1->PutSortBarHeight(48); |
135 |
How can I change the sort bar's foreground color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutSortBarVisible(VARIANT_TRUE); spList1->PutForeColorSortBar(RGB(255,0,0)); |
134 |
How can I change the visual appearance of the control's sort bar, using EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spList1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spList1->PutSortBarVisible(VARIANT_TRUE); spList1->PutBackColorSortBar(0x1000000); spList1->PutBackColorSortBarCaption(0x2000000); spList1->PutAppearance(EXLISTLib::None2); |
133 |
How can I change the sort bar's background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutSortBarVisible(VARIANT_TRUE); spList1->PutBackColorSortBar(RGB(255,0,0)); spList1->PutBackColorSortBarCaption(RGB(128,0,0)); |
132 |
How can I change the default caption being displayed in the control's sort bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutSortBarVisible(VARIANT_TRUE); spList1->PutSortBarCaption(L"new caption"); |
131 |
How can I show the control's sort bar
|
130 |
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutPictureLevelHeader(IPictureDispPtr(((IDispatch*)(spList1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"))))); spList1->PutPictureDisplayLevelHeader(EXLISTLib::Stretch); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"S")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"E1")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"E2")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"E3")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"E4")))->PutWidth(32); |
129 |
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutPictureLevelHeader(IPictureDispPtr(((IDispatch*)(spList1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"))))); spList1->PutPictureDisplayLevelHeader(EXLISTLib::MiddleRight); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"S")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"E")))->PutWidth(32); |
128 |
How can I display a picture on the control's header, when multiple levels are displayed
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutPictureLevelHeader(IPictureDispPtr(((IDispatch*)(spList1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))))); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"S")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1)); |
127 |
How can I change the header's background color, when multiple levels are displayed
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutBackColorLevelHeader(RGB(250,0,0)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"S")))->PutWidth(32); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1)); ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1)); |
126 |
Can I programmatically scroll the control
|
125 |
Do you have some function to load data from a safe array
|
124 |
Do you have some function to retrieve all items to a safe array
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetColumns()->Add(L"Column"); spList1->GetItems()->Add(long(0)); spList1->PutItems(spList1->GetItems(long(0)),vtMissing); spList1->GetItems()->Add(long(1)); spList1->PutItems(spList1->GetItems(long(0)),vtMissing); spList1->GetItems()->Add(long(2)); spList1->PutItems(spList1->GetItems(long(0)),vtMissing); spList1->GetItems()->Add(long(3)); |
123 |
How can still display the selected items when the control loses the focus
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutHideSelection(VARIANT_FALSE); spList1->GetColumns()->Add(L"Column"); EXLISTLib::IItemsPtr var_Items = spList1->GetItems(); var_Items->Add("Item 3"); var_Items->Add("Item 1"); var_Items->PutSelectItem(var_Items->Add("Item 2"),VARIANT_TRUE); |
122 |
How can I hide a column
|
121 |
How can I ensure that a column is visible and fits the control's client area
|
120 |
I've seen that the width of the tooltip is variable. Can I make it larger
|
119 |
How do I disable showing the tooltip for all control
|
118 |
How do I let the tooltip being displayed longer
|
117 |
How do I show the tooltip quicker
|
116 |
How do I change the caption being displayed in the control's filter bar
|
115 |
How do I search case sensitive, using your incremental search feature
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutAutoSearch(VARIANT_TRUE); EXLISTLib::IColumnsPtr var_Columns = spList1->GetColumns(); ((EXLISTLib::IColumnPtr)(var_Columns->Add(L"exStartWith")))->PutAutoSearch(EXLISTLib::exStartWith); ((EXLISTLib::IColumnPtr)(var_Columns->Add(L"exContains")))->PutAutoSearch(EXLISTLib::exContains); EXLISTLib::IItemsPtr var_Items = spList1->GetItems(); var_Items->PutCaption(var_Items->Add("text"),long(1),"another text"); EXLISTLib::IItemsPtr var_Items1 = spList1->GetItems(); var_Items1->PutCaption(var_Items1->Add("text"),long(1),"another text"); |
114 |
How do I disable the control
|
113 |
How do I enable the incremental search feature within a column
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutAutoSearch(VARIANT_TRUE); EXLISTLib::IColumnsPtr var_Columns = spList1->GetColumns(); ((EXLISTLib::IColumnPtr)(var_Columns->Add(L"exStartWith")))->PutAutoSearch(EXLISTLib::exStartWith); ((EXLISTLib::IColumnPtr)(var_Columns->Add(L"exContains")))->PutAutoSearch(EXLISTLib::exContains); EXLISTLib::IItemsPtr var_Items = spList1->GetItems(); var_Items->PutCaption(var_Items->Add("text"),long(1),"another text"); EXLISTLib::IItemsPtr var_Items1 = spList1->GetItems(); var_Items1->PutCaption(var_Items1->Add("text"),long(1),"another text"); |
112 |
How do I call your x-script language
|
111 |
How do I call your x-script language
|
110 |
How do I show alternate rows in different background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutBackColorAlternate(RGB(240,240,240)); spList1->GetColumns()->Add(L"Column"); EXLISTLib::IItemsPtr var_Items = spList1->GetItems(); var_Items->Add("Item 1"); var_Items->Add("Item 2"); var_Items->Add("Item 3"); var_Items->Add("Item 4"); var_Items->Add("Item 5"); |
109 |
How do I enlarge the drop down filter window
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutFilterBarDropDownHeight(-320); EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column"))); var_Column->PutDisplayFilterButton(VARIANT_TRUE); var_Column->PutFilterBarDropDownWidth(-320); spList1->GetItems()->Add("Item 1"); spList1->GetItems()->Add("Item 2"); |
108 |
How do I filter programatically the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column"))); var_Column->PutDisplayFilterButton(VARIANT_TRUE); var_Column->PutFilterType(EXLISTLib::exPattern); var_Column->PutFilter(L"Item*"); spList1->GetItems()->Add("Item 1"); spList1->GetItems()->Add(""); spList1->GetItems()->Add("Item 2"); spList1->ApplyFilter(); |
107 |
How do I change the font of the control's filterbar
|
106 |
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spList1->PutFilterBarBackColor(0x1000000); EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column"))); var_Column->PutDisplayFilterButton(VARIANT_TRUE); var_Column->PutFilterType(EXLISTLib::exBlanks); spList1->ApplyFilter(); |
105 |
How do I change the background color of the control's filterbar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutFilterBarBackColor(RGB(240,240,240)); EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column"))); var_Column->PutDisplayFilterButton(VARIANT_TRUE); var_Column->PutFilterType(EXLISTLib::exBlanks); spList1->ApplyFilter(); |
104 |
How do I change the foreground color of the control's filterbar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutFilterBarForeColor(RGB(255,0,0)); EXLISTLib::IColumnPtr var_Column = ((EXLISTLib::IColumnPtr)(spList1->GetColumns()->Add(L"Column"))); var_Column->PutDisplayFilterButton(VARIANT_TRUE); var_Column->PutFilterType(EXLISTLib::exBlanks); spList1->ApplyFilter(); |
103 |
How do I change the height of the control's filterbar
|
102 |
How do select only a portion of text when the control starts editing a cell
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutAllowEdit(VARIANT_TRUE); spList1->PutSelStart(1); spList1->PutSelLength(1); spList1->GetColumns()->Add(L"Column"); spList1->GetItems()->Add("Item 1"); spList1->GetItems()->Add("Item 2"); |
101 |
How do I change the header's foreground color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXLISTLib' for the library: 'ExList 1.0 Control Library' #import <ExList.dll> using namespace EXLISTLib; */ EXLISTLib::IListPtr spList1 = GetDlgItem(IDC_LIST1)->GetControlUnknown(); spList1->PutForeColorHeader(RGB(255,0,0)); spList1->GetColumns()->Add(L"Column 1"); spList1->GetColumns()->Add(L"Column 2"); spList1->GetItems()->Add("Item 1"); |